<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>花瓣网</title>
        <css file='__PUBLIC__/css/index.css' />
        <css file='__PUBLIC__/css/com.css' />
         <style>
            .icon{ background:url('__PUBLIC__/img/main_menu_sprite.png'); }
            body{background:url('__PUBLIC__/img/bg.gif') repeat; }
            #sub{background:url('__PUBLIC__/img/sub.png')}
            #h_logon,#reg_2{background:url('__PUBLIC__/img/tips_bg.gif')}
            #reg_3 {
                background: url("__PUBLIC__/img/home_mv.png") no-repeat scroll 0 0 transparent;

            }
            .cols{background:url("__PUBLIC__/img/cols.png")}
            .sub{background:url("__PUBLIC__/img/logon_sub.png")}
          
            .ajax_anniu{border:1px solid #C5BEBE;margin-left: 15px;font-size:13px; font-weight: blod;background: #F2EFEF;display:block;float:left;height:30px;width:45px;text-align: center;line-height: 30px;}
             .zhuancai span{display: none;}
             .ajax_tit{border: 0px;border-top:1px solid red;}

            /** 完整版示例 **/
                            
            #menu { background:url(__PUBLIC__/img/bg_menu.gif) scroll 0 -1px repeat-x; border:1px solid #CCC; }
            #menu ul li span.bg { height: 45px; background: url(__PUBLIC__/img/bg_over.gif) center center no-repeat; }
            #loaderCircle {
                width: 16px;
                height: 16px;
                margin: 0 auto;
                background-image: url('__PUBLIC__/img/loader.gif');
            }
           
         </style>
        <jquery />
         <jsconst/>
        <js file='__PUBLIC__/js/index.js' />
        <js file='__PUBLIC__/js/jquery.wookmark.js' />
        <js file='__PUBLIC__/js/ajax.js'/>
       
        <script type="text/javascript">
            $(function(){
               
               
                ajaxwook('__CONTROL__/data_ajax','__ROOT__');
                
                
            $(".ajax_title").live("mouseover",function(){
                $(this).children().children('span').show();
      
            });
             $(".ajax_title").live("mouseout",function(){
                $(this).children().children('span').hide();
            });
         
    

});
   
        </script>
      
    </head>
    <body>
        <!-- 头部分 -->
        <div id='heade'>
            <div id='title'>
                <div id='shouye'>
                    <a href='__CONTROL__/index' title='首页'>
                        <em class="icon"></em>
                        <span style='color:red;'>首页</span>
                    </a>
                </div>
                <span id='logo'>
                    <img src='__PUBLIC__/img/logo_38.png' />
                </span>
                <!-- 判断是否为空 -->
                <empty value="{$hd.session.user.uid}">   
                    <div id='user_info'>
                        <a href='#' name="dianjilogo" title='登陆'>点击登录</a>	
                    </div>
                    <noempty />
                    <div id='user_img'>
                        <a href="__APP__/user/index" title='个人中心'><img src="__ROOT__/{$dat.user_img}"/></a>	
                    </div>
                </empty>

               <div id='seach'>
                    <form action='#' method='post'>
                        <input type='text' name='seache' />
                        <input id='sub' type='submit' title='搜索' value='' />
                    </form>
                </div>

            </div>

        </div>

        <div  id='largeImg' value="{$hd.session.user.uid}">
            <a href="__APP__/user/index">我的花瓣</a>
            <a  name="caiji" href="javascript:void(0)">上传采集</a>
            <a  name="xinjianhuaban" href="javascript:void(0)">新建画板</a>
            <a href="__CONTROL__/edit_user">账号设置</a>
            <a  href="__CONTROL__/out">退出登陆</a>
        </div>
        <!-- 如果登录的话不显示这个注册登录 -->
        <empty value="{$hd.session.user.uid}">
            <div id='reg' >
                <div id='reg_1'>
                    <div id='reg_2'>
                        <span class='reg_l'>
                            <a id="reg_3" class="mv"  onclick="app.showDialog('mv');return false;" title='花瓣介绍'; href="#"></a>
                            <span>花瓣，</span>
                            采集你喜欢的。
                        </span>
                        <div id='lg'>
                            <a  href='__CONTROL__/reg' title='注册'><img src='__PUBLIC__/img/reg.png' /></a>
                            <a name='logo' href='#' title='登录'><img src='__PUBLIC__/img/lg.png' /></a>
                        </div>
                        <div id='hezuo'>
                            <span>使用合作网站帐号登录</span>
                            <table >
                                <tr>
                                    <td width='40px' > <a href='#'><img src='__PUBLIC__/img/log1.png'/></a></td>
                                    <td width='40px'><a href='#'><img src='__PUBLIC__/img/log2.png'/></a></td>
                                    <td width='40px' ><a href='#'><img src='__PUBLIC__/img/log3.png' /></a></td>
                                    <td width='40px' ><a href='#'><img src='__PUBLIC__/img/log4.png' /></a></td>
                                </tr>
                            </table>
                        </div> 
                    </div>
                </div>
            </div>

        </empty>

 
        <!-- 导航部分 -->
        <div id='daohang'>
            <div id="menu" class="menu">
                <ul>
                    <li><a href="#">美女</a></li>
                    <li><a href="#">摄影</a></li>
                    <li><a href="#">视频</a></li>
                    <li><a href="#">家居</a></li>
                    <li><a href="#">旅行</a></li>
                    <li><a href="#">创意设计</a></li>
                </ul>
                <div class='huaban'>
                    <a style='color:#D4B67B;' href='#'>【花瓣市集】这里的每一件商品都曾被人喜欢</a>
                </div>                  
            </div>
        </div>

        <!-- 瀑布流 -->
        <div id='con'>
            <div class='con_div'>
                <empty value="{$hd.session.user.uid}"> 	
                    <div id="main" role="main">

                        <ul id="tiles">

                        </ul>
                        </div>
                        <div id="loader">
                            <div id="loaderCircle"></div>



                        </div>
                        <noempty />


                        <!--瀑布流--><!-

                        <div id="main" role="main">
                           
                            <ul id="tiles">
                        
                                <li> 
                                    <a href="__APP__/user/index"><img  src="__ROOT__/{$dat.user_img}"></a>
                                        <table width=100% height="120" bgcolor='white'>
                                            <tr>
                                                <td>用户名:</td>
                                                <td  align='left'> <a href="__APP__/user/index">{$dat.username}<a></td>
                                                <td  align='left'> <a href="__CONTROL__/out">退出登陆<a></td>
                                                            </tr>
                                            <tr>     
                                                <td align='center'><a href='__CONTROL__/edit_user'>账号<br>设置</a></td>
                                                <td align='center'><a name="caiji" href='#'>上传<br>采集</a></td>
                                                <td align='center'><a  name="xinjianhuaban" href='#'>新建<br>画板</a></td>
                                            </tr>
                                            <tr>
                                                <td align='center'><a href='__APP__/user/caiji'>采集:{$cai_con}</a></td>
                                                <td align='center'><a href='__APP__/user/index'>画板:{$hua_con}</a></td>
                                                <td align='center'><a href='#'>粉丝:3</a></td>
                                            </tr>
                                        </table>

                                </li>

                            </ul>
                            </div>
                            <div id="loader">
                                <div id="loaderCircle"></div>正在加载中！
                            </div>
                            </empty>



                        </div>

                    </div>



                    <!-- 隐藏注册页面 -->

                    <div id='zhezhao'>
                    </div>

                    <div id='h_logon' >
                        <div class=cols></div>
                        <div class='r_title'>
                            <span>登录花瓣</span>
                        </div>
                        <div class='logon'>
                            <div class='logon_1'>
                                <img src='__PUBLIC__/img/login_1.png'>
                            </div>
                            <span class='span1'>使用注册邮箱登录</span>
                            <div class='logon_2'>
                                <form action='__CONTROL__/log' method='post'>
                                    <input class='put1' type='text'  name='username' /><br />
                                    <input  class='put1' id='pwd' type='password' name='password' /><br />
                                    <input class='sub' type='submit' value='' />
                                    <a class='wangjipwd' href='#'>忘记密码？</a>
                                    <a class='xiangqipwd' href='#'>我又想起来了！</a>
                                </form>

                            </div>
                        </div>  	

                    </div>
                    <!-- 隐藏上传采集 -->
                    <form action="__CONTROL__/chaiji" method="post">
                        <div class='shangchuan'>
                            <div class=cols></div>

                            <div class="shangchuan_1">
                                <upload size='1' width='150px' height="150px" name='img' limit="2" text="采集图片">
                            </div>

                            <div class="shangchuan_2">
                                选择画板
                                <select name="hid" style='font-size: 28px;'>
                                    <list from='$chaiji' name="$v" >
                                        <option value='{$v.hid}'>{$v.htitle}</option>
                                    </list>
                                </select><br/><br />
                                描述一下这个采集。。。
                                <textarea cols='28' rows='5' name="title">
                                </textarea>
                                <input type="submit" value="" style="width:79px;height:33px;cursor:pointer;border:0px;background: url('__PUBLIC__/img/caixialai.png')">
                            </div>

                        </div>
                    </form>
                       <!-- 隐藏转采 -->
                    <form action="__CONTROL__/zhuancai" method="post">
                        <div class='f_zhuancai'>
                            <div class='cols'></div>
                            <div class="shangchuan_1">
                               <img name="z_cai" src="">
                            </div>
                            <input type="hidden" name="cid" value="">
                            <div class="shangchuan_2">
                                选择画板
                                <select name="hid" style='font-size: 28px;'>
                                    <list from='$chaiji' name="$v" >
                                        <option value='{$v.hid}'>{$v.htitle}</option>
                                    </list>
                                </select><br/><br />
                                描述一下这个采集。。。
                                <textarea cols='28' rows='5' name="title">
                                </textarea>
                                <input type="submit" value="" style="width:79px;height:33px;cursor:pointer;border:0px;background: url('__PUBLIC__/img/caixialai.png')">
                            </div>

                        </div>
                    </form>
                    <!-- 隐藏新建画板 -->
                    <form action='__CONTROL__/createhuaban' method='post'>
                        <div class='creathuaban'>
                            <div class=cols></div>

                            <table border="0px" width='500' height='250'>
                                <tr>
                                    <th colspan="2"style='font-size: 28px;'>新建画板</th>
                                </tr>
                                <tr>
                                    <td  style='font-size: 28px;' align="right" >画板标题:</td><td><input style='width:300px;font-size: 28px;' type="text" name='htitle'><br/></td>
                                </tr>
                                <tr>
                                    <td style='font-size: 28px;' align="right">  画板分类:</td>
                                    <td><select name="tid" style='width:300px;font-size: 28px;' >
                                            <list from='$cata' name='$v'>
                                                <option value='{$v.tid}'>{$v.category}</option>
                                            </list>
                                        </select></td>
                                </tr>
                                <tr>

                                    <td colspan="2" align='center'> <input type="submit" value="创建画板" style='width:80px;height:30px' ></td>
                                </tr>
                            </table>
                        </div> 
                    </form>
                    
                  <p id="back-to-top"><a href="#top"><span></span>返回顶部</a></p>
                   
                </body>

                    </html>